3.3.44 \(\int \frac {\csc (c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx\) [244]

Optimal. Leaf size=469 \[ -\frac {\tan ^{-1}\left (\frac {\sqrt {-a} \cos (c+d x)}{\sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}\right )}{2 \sqrt {-a} d}+\frac {\sqrt [4]{b} \sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right ) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{2 a d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}-\frac {\sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right )^2 \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} \Pi \left (\frac {\left (\sqrt {b}+\sqrt {a+b}\right )^2}{4 \sqrt {b} \sqrt {a+b}};2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{4 a \sqrt [4]{b} d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}} \]

[Out]

-1/2*arctan(cos(d*x+c)*(-a)^(1/2)/(a+b-2*b*cos(d*x+c)^2+b*cos(d*x+c)^4)^(1/2))/d/(-a)^(1/2)+1/2*b^(1/4)*(a+b)^
(1/4)*(cos(2*arctan(b^(1/4)*cos(d*x+c)/(a+b)^(1/4)))^2)^(1/2)/cos(2*arctan(b^(1/4)*cos(d*x+c)/(a+b)^(1/4)))*El
lipticF(sin(2*arctan(b^(1/4)*cos(d*x+c)/(a+b)^(1/4))),1/2*(2+2*b^(1/2)/(a+b)^(1/2))^(1/2))*(1+cos(d*x+c)^2*b^(
1/2)/(a+b)^(1/2))*(b^(1/2)-(a+b)^(1/2))*((a+b-2*b*cos(d*x+c)^2+b*cos(d*x+c)^4)/(a+b)/(1+cos(d*x+c)^2*b^(1/2)/(
a+b)^(1/2))^2)^(1/2)/a/d/(a+b-2*b*cos(d*x+c)^2+b*cos(d*x+c)^4)^(1/2)-1/4*(a+b)^(1/4)*(cos(2*arctan(b^(1/4)*cos
(d*x+c)/(a+b)^(1/4)))^2)^(1/2)/cos(2*arctan(b^(1/4)*cos(d*x+c)/(a+b)^(1/4)))*EllipticPi(sin(2*arctan(b^(1/4)*c
os(d*x+c)/(a+b)^(1/4))),1/4*(b^(1/2)+(a+b)^(1/2))^2/b^(1/2)/(a+b)^(1/2),1/2*(2+2*b^(1/2)/(a+b)^(1/2))^(1/2))*(
1+cos(d*x+c)^2*b^(1/2)/(a+b)^(1/2))*(b^(1/2)-(a+b)^(1/2))^2*((a+b-2*b*cos(d*x+c)^2+b*cos(d*x+c)^4)/(a+b)/(1+co
s(d*x+c)^2*b^(1/2)/(a+b)^(1/2))^2)^(1/2)/a/b^(1/4)/d/(a+b-2*b*cos(d*x+c)^2+b*cos(d*x+c)^4)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.29, antiderivative size = 469, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {3294, 1230, 1117, 1720} \begin {gather*} -\frac {\text {ArcTan}\left (\frac {\sqrt {-a} \cos (c+d x)}{\sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}\right )}{2 \sqrt {-a} d}+\frac {\sqrt [4]{b} \sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right ) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{2 a d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}}-\frac {\sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right )^2 \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right ) \sqrt {\frac {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}{(a+b) \left (\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}+1\right )^2}} \Pi \left (\frac {\left (\sqrt {b}+\sqrt {a+b}\right )^2}{4 \sqrt {b} \sqrt {a+b}};2 \text {ArcTan}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (\frac {\sqrt {b}}{\sqrt {a+b}}+1\right )\right )}{4 a \sqrt [4]{b} d \sqrt {a+b \cos ^4(c+d x)-2 b \cos ^2(c+d x)+b}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Csc[c + d*x]/Sqrt[a + b*Sin[c + d*x]^4],x]

[Out]

-1/2*ArcTan[(Sqrt[-a]*Cos[c + d*x])/Sqrt[a + b - 2*b*Cos[c + d*x]^2 + b*Cos[c + d*x]^4]]/(Sqrt[-a]*d) + (b^(1/
4)*(a + b)^(1/4)*(Sqrt[b] - Sqrt[a + b])*(1 + (Sqrt[b]*Cos[c + d*x]^2)/Sqrt[a + b])*Sqrt[(a + b - 2*b*Cos[c +
d*x]^2 + b*Cos[c + d*x]^4)/((a + b)*(1 + (Sqrt[b]*Cos[c + d*x]^2)/Sqrt[a + b])^2)]*EllipticF[2*ArcTan[(b^(1/4)
*Cos[c + d*x])/(a + b)^(1/4)], (1 + Sqrt[b]/Sqrt[a + b])/2])/(2*a*d*Sqrt[a + b - 2*b*Cos[c + d*x]^2 + b*Cos[c
+ d*x]^4]) - ((a + b)^(1/4)*(Sqrt[b] - Sqrt[a + b])^2*(1 + (Sqrt[b]*Cos[c + d*x]^2)/Sqrt[a + b])*Sqrt[(a + b -
 2*b*Cos[c + d*x]^2 + b*Cos[c + d*x]^4)/((a + b)*(1 + (Sqrt[b]*Cos[c + d*x]^2)/Sqrt[a + b])^2)]*EllipticPi[(Sq
rt[b] + Sqrt[a + b])^2/(4*Sqrt[b]*Sqrt[a + b]), 2*ArcTan[(b^(1/4)*Cos[c + d*x])/(a + b)^(1/4)], (1 + Sqrt[b]/S
qrt[a + b])/2])/(4*a*b^(1/4)*d*Sqrt[a + b - 2*b*Cos[c + d*x]^2 + b*Cos[c + d*x]^4])

Rule 1117

Int[1/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(
a + b*x^2 + c*x^4)/(a*(1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^2 + c*x^4]))*EllipticF[2*ArcTan[q*x], 1/2 - b*(q^2/(
4*c))], x]] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]

Rule 1230

Int[1/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[{q = Rt[c/a, 2]}, Di
st[(c*d + a*e*q)/(c*d^2 - a*e^2), Int[1/Sqrt[a + b*x^2 + c*x^4], x], x] - Dist[(a*e*(e + d*q))/(c*d^2 - a*e^2)
, Int[(1 + q*x^2)/((d + e*x^2)*Sqrt[a + b*x^2 + c*x^4]), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a
*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a]

Rule 1720

Int[((A_) + (B_.)*(x_)^2)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[
{q = Rt[B/A, 2]}, Simp[(-(B*d - A*e))*(ArcTan[Rt[-b + c*(d/e) + a*(e/d), 2]*(x/Sqrt[a + b*x^2 + c*x^4])]/(2*d*
e*Rt[-b + c*(d/e) + a*(e/d), 2])), x] + Simp[(B*d + A*e)*(A + B*x^2)*(Sqrt[A^2*((a + b*x^2 + c*x^4)/(a*(A + B*
x^2)^2))]/(4*d*e*A*q*Sqrt[a + b*x^2 + c*x^4]))*EllipticPi[Cancel[-(B*d - A*e)^2/(4*d*e*A*B)], 2*ArcTan[q*x], 1
/2 - b*(A/(4*a*B))], x]] /; FreeQ[{a, b, c, d, e, A, B}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^
2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a] && EqQ[c*A^2 - a*B^2, 0]

Rule 3294

Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^4)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Cos[e + f*x], x]}, Dist[-ff/f, Subst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a + b - 2*b*ff^2*x^2 + b*ff^4*x^4
)^p, x], x, Cos[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]

Rubi steps

\begin {align*} \int \frac {\csc (c+d x)}{\sqrt {a+b \sin ^4(c+d x)}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{d}\\ &=\frac {\left ((a+b) \left (-1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right ) \text {Subst}\left (\int \frac {1+\frac {\sqrt {b} x^2}{\sqrt {a+b}}}{\left (1-x^2\right ) \sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{a d}+\frac {\left (\sqrt {b} \left (\sqrt {b}-\sqrt {a+b}\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+b-2 b x^2+b x^4}} \, dx,x,\cos (c+d x)\right )}{a d}\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt {-a} \cos (c+d x)}{\sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}\right )}{2 \sqrt {-a} d}+\frac {\sqrt [4]{b} \sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right ) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{2 a d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}-\frac {\sqrt [4]{a+b} \left (\sqrt {b}-\sqrt {a+b}\right )^2 \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right ) \sqrt {\frac {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}{(a+b) \left (1+\frac {\sqrt {b} \cos ^2(c+d x)}{\sqrt {a+b}}\right )^2}} \Pi \left (\frac {\left (\sqrt {b}+\sqrt {a+b}\right )^2}{4 \sqrt {b} \sqrt {a+b}};2 \tan ^{-1}\left (\frac {\sqrt [4]{b} \cos (c+d x)}{\sqrt [4]{a+b}}\right )|\frac {1}{2} \left (1+\frac {\sqrt {b}}{\sqrt {a+b}}\right )\right )}{4 a \sqrt [4]{b} d \sqrt {a+b-2 b \cos ^2(c+d x)+b \cos ^4(c+d x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 9 vs. order 4 in optimal.
time = 41.07, size = 63281, normalized size = 134.93 \begin {gather*} \text {Result too large to show} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[Csc[c + d*x]/Sqrt[a + b*Sin[c + d*x]^4],x]

[Out]

Result too large to show

________________________________________________________________________________________

Maple [F]
time = 1.44, size = 0, normalized size = 0.00 \[\int \frac {\csc \left (d x +c \right )}{\sqrt {a +b \left (\sin ^{4}\left (d x +c \right )\right )}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csc(d*x+c)/(a+b*sin(d*x+c)^4)^(1/2),x)

[Out]

int(csc(d*x+c)/(a+b*sin(d*x+c)^4)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a+b*sin(d*x+c)^4)^(1/2),x, algorithm="maxima")

[Out]

integrate(csc(d*x + c)/sqrt(b*sin(d*x + c)^4 + a), x)

________________________________________________________________________________________

Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a+b*sin(d*x+c)^4)^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\csc {\left (c + d x \right )}}{\sqrt {a + b \sin ^{4}{\left (c + d x \right )}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a+b*sin(d*x+c)**4)**(1/2),x)

[Out]

Integral(csc(c + d*x)/sqrt(a + b*sin(c + d*x)**4), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csc(d*x+c)/(a+b*sin(d*x+c)^4)^(1/2),x, algorithm="giac")

[Out]

integrate(csc(d*x + c)/sqrt(b*sin(d*x + c)^4 + a), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{\sin \left (c+d\,x\right )\,\sqrt {b\,{\sin \left (c+d\,x\right )}^4+a}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(sin(c + d*x)*(a + b*sin(c + d*x)^4)^(1/2)),x)

[Out]

int(1/(sin(c + d*x)*(a + b*sin(c + d*x)^4)^(1/2)), x)

________________________________________________________________________________________